package com.sinu.simplespringboot.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author Sinu
 * @Date 2021/7/18
 */
@RestController
public class MyController {

    @RequestMapping("/test")
    public String hello() {
        System.out.println("======hello");
        return "hello";
    }

}

